<?xml version="1.0" encoding="UTF-8"?>
<!-- 
 Copyright (C) 2014 - 2016 Open Source Geospatial Foundation. All rights reserved.
 This code is licensed under the GPL 2.0 license, available at the root
 application directory.
 -->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/context
        http://www.springframework.org/schema/context/spring-context.xsd">

  <!-- <mvc:annotation-driven/> -->
  <context:component-scan base-package="org.geoserver.sldservice.rest"/>
  
  <bean id="restEnvCallback" class="org.geoserver.sldservice.rest.RestEnvVariableCallback"/>
<bean id="SLDServiceExtension"
		class="org.geoserver.platform.ModuleStatusImpl">
		<property name="module" value="gs-sldservice" />
		<property name="name" value="SLD Service Extension" />
		<property name="component" value="SLD Service plugin" />
		<property name="available" value="true" />
		<property name="enabled" value="true" />
	</bean>
</beans>